package slap.mvc.scope;

import slap.paradigm.ModelsContext;

/**
 * Render args (used in template rendering)
 */
public class RenderModels extends ModelsContext {

	public static ThreadLocal<RenderModels> current = new ThreadLocal<RenderModels>();

	public static RenderModels current() {
		RenderModels models = current.get();
		if (models == null) {
			models = new RenderModels();
			current.set(models);
		}
		return models;
	}

}